package fi;

import com.badlogic.gdx.graphics.Color;

public class PointLight {

	float x;
	float y;
	float z;
	float distance;
	float r;
	float g;
	float b;
	boolean culled;
	boolean outside;	

	public PointLight(float x, float y, float z, float dis, Color color) {
		this.x = x;
		this.y = y;
		this.z = z;
		this.distance = dis;
		setColor(color);
	}

	public void setColor(Color color) {
		r = color.r;
		b = color.b;
		g = color.g;
	}

	public void setColor(float r, float g, float b) {
		this.r = r;
		this.b = b;
		this.g = g;
	}
}
